package com.zhangdi.demo.es.service;

import com.zhangdi.demo.es.entity.CompanyDoc;
import com.zhangdi.mserver.searchcli.page.Page;

import java.util.List;
import java.util.Map;

/**
 * Created by zhangdi on 2020/07/10 11:06:04.
 */
public interface ESUserService {
    List<CompanyDoc> findAll();
    Page<CompanyDoc> findByKeyValue(Map<String, Object> request);
    CompanyDoc save(CompanyDoc company);
    void save(List<CompanyDoc> list);
}
